package com.baoyouqun.domain.Query;

import com.baoyouqun.domain.Enum.SearchTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserSearchRecordQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long size = 10L;

    private Long current = 1L;

    @ApiModelProperty(value = "主键ID（可采用雪花算法生成）")
    private String id;

    @ApiModelProperty(value = "用户ID（关联用户表）")
    private String userId;

    @ApiModelProperty(value = "搜索关键词")
    private String searchKeyword;

    @ApiModelProperty(value = "搜索类型")
    private String type;

    @ApiModelProperty(value = "搜索类型：1-综合，2-找需求，3-找资源，4-找人")
    private SearchTypeEnum searchType;

    @ApiModelProperty(value = "记录创建时间")
    private LocalDateTime createTime;


}